/**
 ******************************************************************************
 * @file           : at6558r.h
 * @brief          : Header for at6558r.c file.
 ******************************************************************************
 * @attention
 ******************************************************************************
 */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __AT6558R_H
#define __AT6558R_H
/* Private includes ----------------------------------------------------------*/
#include <stdbool.h>
#include "stm32f1xx_hal.h"

/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported variables --------------------------------------------------------*/
extern char locationBuffer[512];
/* Exported functions prototypes ---------------------------------------------*/
void AT6558R_Init(void);
void AT6558R_ReceiveData(uint8_t *rxBuffer);
void AT6558R_EnterBatteryBackupMode(void);
void AT6558R_ExitBatteryBackupMode(void);
/* Private defines -----------------------------------------------------------*/

#endif /* __AT6558R_H */
